const BaseModel = require('./base_model.js');

class SystemConfigModel extends BaseModel {}

// 集合名-系统配置
SystemConfigModel.CL = BaseModel.C('system_config');

// 结构
SystemConfigModel.DB_STRUCTURE = {
    PID: 'string|true',
    ID: 'string|true',

    label: 'string|true|comment=名称',
    key: 'string|true|comment=关键词',
    value: 'string|true|comment=值',
    type: 'string|true|comment=类型',

    ADD_TIME: 'int|true',
    ADD_IP: 'string|false',
    EDIT_TIME: 'int|true',
    EDIT_IP: 'string|false',
}

module.exports = SystemConfigModel;